__author__ = 'DSL'
# -*-coding:utf-8-*-
from django.template.loader import get_template
from django.http import HttpResponse
import datetime
import time

def hello(request):
    now = time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time()))
    t = get_template('hello.html')
    html = t.render({'current_date': now})
    return HttpResponse(html)